export default [
    {
        routes: [
            {
                path: '/login',
                title: '登录系统',
                component: '@/pages/login/',
            },
            {
                path: '/',
                title: '管理系统',
                component: '../layouts/index',
                wrappers: ['@/wrappers/auth'],
                routes: [
                    { path: '/', redirect: '/home' },
                    {
                        path: '/home',
                        title: '数据概况',
                        component: '@/pages/home/',
                        class: '系统首页'
                    },
                    {
                        path: '/home/allfiles',
                        title: '全部档案',
                        component: '@/pages/home/all',
                        class: '档案管理'
                    },
                    {
                        path: '/home/selectfile',
                        title: '筛选档案',
                        component: '@/pages/home/',
                        class: '档案管理'
                    },
                    {
                        path: '/home/count',
                        title: '档案统计',
                        component: '@/pages/home/',
                        class: '档案管理'
                    },
                    {
                        path: '/addfiles/manual',
                        title: '手动添加',
                        component: '@/pages/addfiles/manual',
                        class: '添加档案'
                    },
                    {
                        path: '/addfiles/auto',
                        title: '批量添加',
                        component: '@/pages/addfiles/auto',
                        class: '添加档案'
                    },
                    {
                        path: '/system/user',
                        title: '操作人员管理',
                        component: '@/pages/system/user',
                        class: '系统设置'
                    },
                    {
                        path: '/system/other',
                        title: '其他设置',
                        component: '@/pages/system/other',
                        class: '系统设置'
                    },
                    { component: '@/pages/404' },
                ]
            }
        ]
    }
]
